package com.ycw.dao;

import org.apache.ibatis.session.SqlSession;
import org.apache.ibatis.session.SqlSessionFactory;

import com.ycw.pojo.Manager;
import com.ycw.util.DBUtil;
import com.ycw.util.MyBatisUtil;

public class Login extends DBUtil {
	// 登录
	public int doLogin(Manager manager) throws Exception {
		MyBatisUtil myBatisUtil = new MyBatisUtil();
		SqlSessionFactory sqlSessionFactory = MyBatisUtil.getSqlSessionFactory();
		SqlSession sqlSession = sqlSessionFactory.openSession();
		return 0;

	}
}
